import { useSelector, useDispatch } from 'react-redux'
//通过useSelector去获取state里面的值
// const data = useSelector((state) => state.audit.data)
import * as listType  from '@/store/actionsType/yxk/yxk-audit-type'
export default function AuditParticulars() {
  const data = useSelector((state) => state.shenghe.data)
  console.log(data)
  return (
    <>
      <h2 className="audit-h1">提现信息</h2>
      <div>
        <table className="audit-table">
          <tr className="audit-flex">
            <td>提现单号：{data.cashOdd}</td>
            <td>用户手机号码：{data.phone}</td>
          </tr>
          <tr className="audit-flex">
            <td>真实姓名：{data.name}</td>
            <td>用户类型：{data.type}</td>
          </tr>
          <tr className="audit-flex">
            <td>提现银行：{data.bankName}</td>
            <td>银行账号：{data.bankAccount}</td>
          </tr>
          <tr className="audit-flex">
            <td>提现金额：{data.cashAmount}</td>
            <td>提交时间：{data.bankNumber}</td>
          </tr>
        </table>
      </div>
    </>
  )
}